package cn.hackcloud.designpattern.adapter;

public class VoltageAdapter extends Voltage220V implements IVoltage5V {

	@Override
	public int output5V() {
		int output = output220V();
		int dst = output / 44;
		System.out.println("电压5v");
		return dst;
	}

}
